#include"./../Include/public.h"
void store_course()
{
	FILE *fp = fopen("./data/ret_course.txt","w");
	struct course *p = head_course;
	while (p != NULL) {
		fprintf(fp, "%d %s %s %d %d %d %d\n", p->cno, p->cname, p->type, p->ctime, p->score, p->chose, p->limit);
		p = p->next;
	}
	
	fclose(fp);
} 


